package com.aaa.service.impl;

import com.aaa.dao.UserMapper;
import com.aaa.dao.VipMapper;
import com.aaa.entity.User;
import com.aaa.entity.Vip;
import com.aaa.service.UserService;
import com.aaa.service.VipService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class VipServiceImpl extends ServiceImpl<VipMapper, Vip> implements VipService {
    @Resource
    VipMapper vipMapper;

    @Override
    public List<Vip> selectVip(String username) {
        return vipMapper.selectVip(username);
    }
}
